package xkp.lesson.springboot_shiro.entity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * user_info
 * @author 
 */
@Data
public class UserInfo implements Serializable {
    private Integer userId;

    private String userName;

    private String userPwd;

    private String salt;

    private List<Role> roleList;

    private List<Resource> resourceList;

    private Object token;

    private static final long serialVersionUID = 1L;

    public UserInfo(String userName, String userPwd) {
        this.userName = userName;
        this.userPwd = userPwd;
    }
}